import http from '@/utils/http'
// 登录请求
export const login = data => {
  return http({
    method: 'POST',
    url: '/app/v1_0/authorizations',
    data
  })
}
// 发送验证码
export const sendVerification = data => {
  return http({
    method: 'GET',
    url: `/app/v1_0/sms/codes/${data}`
  })
}
